Optimal. Leaf size=135 \[ \frac{A (e x)^{m+1} \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};-\frac{c x^2}{a}\right )}{e (m+1)}+\frac{B (e x)^{m+2} \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+2}{2},-p;\frac{m+4}{2};-\frac{c x^2}{a}\right )}{e^2 (m+2)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.154234, antiderivative size = 135, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15 \[ \frac{A (e x)^{m+1} \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};-\frac{c x^2}{a}\right )}{e (m+1)}+\frac{B (e x)^{m+2} \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+2}{2},-p;\frac{m+4}{2};-\frac{c x^2}{a}\right )}{e^2 (m+2)} \]
Antiderivative was successfully verified.
[In] Int[(e*x)^m*(A + B*x)*(a + c*x^2)^p,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 20.7217, size = 105, normalized size = 0.78 \[ \frac{A \left (e x\right )^{m + 1} \left (1 + \frac{c x^{2}}{a}\right )^{- p} \left (a + c x^{2}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{- \frac{c x^{2}}{a}} \right )}}{e \left (m + 1\right )} + \frac{B \left (e x\right )^{m + 2} \left (1 + \frac{c x^{2}}{a}\right )^{- p} \left (a + c x^{2}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{2} + 1 \\ \frac{m}{2} + 2 \end{matrix}\middle |{- \frac{c x^{2}}{a}} \right )}}{e^{2} \left (m + 2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x)**m*(B*x+A)*(c*x**2+a)**p,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.131214, size = 106, normalized size = 0.79 \[ \frac{x (e x)^m \left (a+c x^2\right )^p \left (\frac{c x^2}{a}+1\right )^{-p} \left (A (m+2) \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};-\frac{c x^2}{a}\right )+B (m+1) x \, _2F_1\left (\frac{m}{2}+1,-p;\frac{m}{2}+2;-\frac{c x^2}{a}\right )\right )}{(m+1) (m+2)} \]
Antiderivative was successfully verified.
[In] Integrate[(e*x)^m*(A + B*x)*(a + c*x^2)^p,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.085, size = 0, normalized size = 0. \[ \int \left ( ex \right ) ^{m} \left ( Bx+A \right ) \left ( c{x}^{2}+a \right ) ^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x)^m*(B*x+A)*(c*x^2+a)^p,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (B x + A\right )}{\left (c x^{2} + a\right )}^{p} \left (e x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(c*x^2 + a)^p*(e*x)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (B x + A\right )}{\left (c x^{2} + a\right )}^{p} \left (e x\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(c*x^2 + a)^p*(e*x)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x)**m*(B*x+A)*(c*x**2+a)**p,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (B x + A\right )}{\left (c x^{2} + a\right )}^{p} \left (e x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(c*x^2 + a)^p*(e*x)^m,x, algorithm="giac")
[Out]